package com.heima.model.pojos;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.Date;
  
@Data
@AllArgsConstructor
@NoArgsConstructor
public class ApUser implements Serializable {
  
    private Integer id;  
    private String salt;  
    private String name;  
    private String password;  
    private String phone;  
    private String image;  
    private Integer sex; // 0: 男, 1: 女, 2: 未知  
    private Integer isCertification; // 0: 未, 1: 是  
    private Integer isIdentityAuthentication; // 是否身份认证 (假设这里也是0或1)  
    private Integer status; // 0: 正常, 1: 锁定  
    private Integer flag; // 0: 普通用户, 1: 自媒体人, 2: 大V  
    private Date createdTime;  
  
    // 可能的枚举或常量定义（可选）  
    public static final Integer SEX_MALE = 0;  
    public static final Integer SEX_FEMALE = 1;  
    public static final Integer SEX_UNKNOWN = 2;  
  
    public static final Integer CERTIFICATION_NOT_DONE = 0;  
    public static final Integer CERTIFICATION_DONE = 1;  
  
    public static final Integer STATUS_NORMAL = 0;  
    public static final Integer STATUS_LOCKED = 1;  
  
    public static final Integer FLAG_USER = 0;  
    public static final Integer FLAG_MEDIA_PERSON = 1;  
    public static final Integer FLAG_BIG_V = 2;  
}